import request from '@/utils/request'

export function getLinePage(search) {
    return request({
      url: '/Line/GetPageList',
      method: 'post',
      data: search
    })
  }

  export function AddLine(OutsourceInfo) {
    return request({
      url: '/Line/AddLinePo',
      method: 'post',
      data: OutsourceInfo
    })
  }

  export function DeleteLine(line_id) {
    return request({
      url: '/Line/DeleteLinePo?line_id='+line_id,
      method: 'post',
      data: line_id
    })
  }